import UIKit
import Flutter

@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
  override func application(
    _ application: UIApplication,
    didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
  ) -> Bool {
    
    let v = UITextView(frame: CGRect(x: 100, y: 200, width: 200, height: 200))
    v.backgroundColor = UIColor.red;
    v.text = "\(String(describing: launchOptions))"
    UIApplication.shared.keyWindow?.rootViewController?.view.addSubview(v)
    
    GeneratedPluginRegistrant.register(with: self)
    return super.application(application, didFinishLaunchingWithOptions: launchOptions)
  }
}
